package com.mb.ext.core.dao.point;

import java.util.List;

import com.mb.ext.core.entity.point.PointProductEntity;
import com.mb.ext.core.entity.point.PointSupplierProductEntity;
import com.mb.ext.core.entity.supplier.SupplierEntity;
import com.mb.framework.exception.DAOException;



public interface PointSupplierProductDAO
{
	void createSupplierProduct(PointSupplierProductEntity supplierProductEntity) throws DAOException;
	
	void updateSupplierProduct(PointSupplierProductEntity supplierProductEntity) throws DAOException;
	
	void deleteSupplierProduct(PointSupplierProductEntity supplierProductEntity) throws DAOException;
	
	List<PointProductEntity> getProductsBySupplier(SupplierEntity supplierEntity) throws DAOException;
	
	PointSupplierProductEntity getSupplierProduct(SupplierEntity supplierEntity, PointProductEntity productEntity) throws DAOException;
	
	List<SupplierEntity> searchSupplierByProduct(PointProductEntity productEntity, int startIndex, int pageSize) throws DAOException;
	
	int searchSupplierByProductTotal(PointProductEntity productEntity) throws DAOException;
}
